package com.timesheet.server.core.models;


import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name="Horoscope_Details")
public class HoroscopeDetails implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Long id;
	public Long getId() {
		return id;
	}



	public void setId(Long id) {
		this.id = id;
	}


/*
	public String getStar() {
		return star;
	}



	public void setStar(String star) {
		this.star = star;
	}*/



	public byte[] getPicture() {
		return picture;
	}



	public void setPicture(byte[] picture) {
		this.picture = picture;
	}


/*	@Transient
	private String star;*/
	
	@Lob @Basic(fetch = FetchType.LAZY)
	@Column(length=1048576) 
	private byte[] picture;


	
	
	
}


